package com.example.demo.Mapper;

import com.example.demo.Entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
    User FindById(Integer id);
    User FindByName(String name);
    List<User> FindAll();
    void DeleteById(Integer id);
    void Insert(User user);
    void Update(User user);
}
